package com.xyz.gulimall.product.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * spu信息介绍
 * 
 * @author xiao
 * @email 2382414125@qq.com
 * @date 2021-02-22 15:52:13
 */
@Data
@TableName("pms_spu_info_desc")
public class SpuInfoDescEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 商品id
	 * public enum IdType {
	 *     AUTO(0), //自增
	 *     NONE(1),//不设置
	 *     INPUT(2),//手动输入
	 *     ID_WORKER(3),//雪花算法定义全局id
	 *     UUID(4),//随机唯一值
	 *     ID_WORKER_STR(5);// ID_WORKER的字符串表示
	 */
	@TableId(type = IdType.ID_WORKER)
	private Long spuId;
	/**
	 * 商品介绍
	 */
	private String decript;

}
